import pageTools from '@/components/pageTools'
import paGing from '@/components/pageTools/paging'
import UploadExcel from './UploadExcel'
import UploadImg from './uploadImg'
import Lang from './Lang'
import ScreenFull from './ScreenFull'
export default {
  install(Vue) {
    // p接收的就是Vue的构造器
    console.log('install', Vue)
    Vue.component('pageTools', pageTools)
    Vue.component('paGing', paGing)
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('UploadImg', UploadImg) // 注册上传图片组件
    Vue.component('Lang', Lang) // 注册语言切换
    Vue.component('ScreenFull', ScreenFull) // 全屏
  }
}
